<?php
include "connection.php";
$result=mysql_query("SELECT * FROM tlocation_uso1s_plik");
while ($row = mysql_fetch_object($result)) 
		{
			
			$arr[]=array("district"=>$row->district,"sub_district"=>$row->subdistrict,"desa"=>$row->desa);
		}
		$response=array("items"=>$arr);
		$final=array("response"=>$response);
		echo json_encode($final);
?>